package com.lsc.admin.demo.bo.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lsc.admin.demo.bo.UserBO;
import com.lsc.admin.demo.dao.UserDAO;
import com.lsc.admin.demo.entity.User;

@Service
public class UserBOImpl extends ServiceImpl<UserDAO, User> implements UserBO {

	@Autowired
	UserDAO userDAO;
	
	@Override
	public List<User> selectAll() {
		// TODO Auto-generated method stub
		return userDAO.selectList(null);
//		List<User> li=new ArrayList();
//		User user=userDAO.selectById(123);
//		li.add(userDAO.selectById(123));
//		return li;
	}
 
}
